#ifndef CGQAPPLICATION_H
#define CGQAPPLICATION_H

#include <Windows.h>
#include "Window.h"
#include <queue>
#include "TCPServer.h"

class Application
{
public:
	explicit Application(HINSTANCE inst);
	virtual ~Application();

	int run();

	void setAnimationInterval(float interval);
private:
	HINSTANCE           _instance;
	HACCEL              _accelTable;

	Window              *_window;
	float               _animationInterval;

	TCPServer           *_server;

};

#endif  // CGQAPPLICATION_H